@charset "utf-8";
/*基础通用样式*/
html,
body {
  position: fixed;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  min-width: $--body-min-width;
  background-color: $--color-gray;
  color: #333;
  font-size: $--default-font-size;
  /*去除长按a链接弹框*/
  -webkit-touch-callout: none;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
abbr,
address,
big,
em,
img,
q,
small,
strike,
strong,
sub,
sup,
tt,
var,
i,
dl,
dt,
dd,
ol,
ul,
li,
form,
fieldset,
label,
table,
caption,
tbody,
thead,
tfoot,
tr,
th,
td,
article,
aside,
canvas,
details,
figure,
figcaption,
header,
footer,
hgroup,
menu,
nav,
output,
section,
time,
mark,
audio,
video,
input,
select,
button,
hr {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  font-family: $--default-font;
  box-sizing: border-box;
}

/*去除默认样式*/
ul,
ol,
li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
em,
i {
  font-style: normal;
  font-weight: normal;
}

/*表格边框合并，边框距零*/
table {
  border: 0;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

table th,
table td {
  padding: 0;
}

/*继承父元素的字体系列样式*/
input,
select,
textarea,
button {
  font-family: inherit;
}

/*a链接*/
a {
  text-decoration: none;
  color: #333;

  & :hover {
    text-decoration: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*去除点击高亮效果*/
a,
button,
input,
select,
img,
label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: medium none;
}

input::-moz-focus-inner {
  border: none;
  padding: 0;
}

select,
input {
  vertical-align: middle;
}

/*去掉苹果的默认UI来渲染按钮*/
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
select {
  -webkit-appearance: none;
}

/*placeholder文本颜色*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #ccc;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #ccc;
}

/*html5标签*/
header,
footer,
section,
article,
aside,
nav,
figure {
  display: block;
}

/*长英文字母 数字 换行*/
p {
  word-break: break-all;
  word-wrap: break-word;
}

/*去除默认样式*/
address,
caption,
cite,
code,
dfn,
th,
var {
  font-weight: normal;
  font-style: normal;
}

fieldset {
  border: none;
  display: block;
}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #fefefe;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
  border-radius: 1px;
  background-color: none;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3);
  background-color: #ddd;
}
